package com.example.springfox.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author: hett
 * @date: 2022/1/17 15:16
 */
@Schema(name = "用户")
@Data
public class User {
    @Schema(name = "用户的id",required = true)
    private int id;
    @Schema(name = "用户的姓名",required = true)
    private String username;
    @Schema(name = "用户的密码")
    private String password;


}
